3.1427 \(\int \frac{(a+b x)^2}{(c+d x)^{3/2}} \, dx\)

Optimal. Leaf size=67 \[ -\frac{4 b \sqrt{c+d x} (b c-a d)}{d^3}-\frac{2 (b c-a d)^2}{d^3 \sqrt{c+d x}}+\frac{2 b^2 (c+d x)^{3/2}}{3 d^3} \]

[Out]

(-2*(b*c - a*d)^2)/(d^3*Sqrt[c + d*x]) - (4*b*(b*c - a*d)*Sqrt[c + d*x])/d^3 + (
2*b^2*(c + d*x)^(3/2))/(3*d^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.0674793, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ -\frac{4 b \sqrt{c+d x} (b c-a d)}{d^3}-\frac{2 (b c-a d)^2}{d^3 \sqrt{c+d x}}+\frac{2 b^2 (c+d x)^{3/2}}{3 d^3} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)^2/(c + d*x)^(3/2),x]

[Out]

(-2*(b*c - a*d)^2)/(d^3*Sqrt[c + d*x]) - (4*b*(b*c - a*d)*Sqrt[c + d*x])/d^3 + (
2*b^2*(c + d*x)^(3/2))/(3*d^3)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 15.0048, size = 61, normalized size = 0.91 \[ \frac{2 b^{2} \left (c + d x\right )^{\frac{3}{2}}}{3 d^{3}} + \frac{4 b \sqrt{c + d x} \left (a d - b c\right )}{d^{3}} - \frac{2 \left (a d - b c\right )^{2}}{d^{3} \sqrt{c + d x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**2/(d*x+c)**(3/2),x)

[Out]

2*b**2*(c + d*x)**(3/2)/(3*d**3) + 4*b*sqrt(c + d*x)*(a*d - b*c)/d**3 - 2*(a*d -
 b*c)**2/(d**3*sqrt(c + d*x))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0538839, size = 59, normalized size = 0.88 \[ \frac{2 \left (-3 a^2 d^2+6 a b d (2 c+d x)+b^2 \left (-8 c^2-4 c d x+d^2 x^2\right )\right )}{3 d^3 \sqrt{c+d x}} \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*x)^2/(c + d*x)^(3/2),x]

[Out]

(2*(-3*a^2*d^2 + 6*a*b*d*(2*c + d*x) + b^2*(-8*c^2 - 4*c*d*x + d^2*x^2)))/(3*d^3
*Sqrt[c + d*x])

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 63, normalized size = 0.9 \[ -{\frac{-2\,{b}^{2}{x}^{2}{d}^{2}-12\,ab{d}^{2}x+8\,{b}^{2}cdx+6\,{a}^{2}{d}^{2}-24\,abcd+16\,{b}^{2}{c}^{2}}{3\,{d}^{3}}{\frac{1}{\sqrt{dx+c}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^2/(d*x+c)^(3/2),x)

[Out]

-2/3/(d*x+c)^(1/2)*(-b^2*d^2*x^2-6*a*b*d^2*x+4*b^2*c*d*x+3*a^2*d^2-12*a*b*c*d+8*
b^2*c^2)/d^3

_______________________________________________________________________________________

Maxima [A]  time = 1.37182, size = 101, normalized size = 1.51 \[ \frac{2 \,{\left (\frac{{\left (d x + c\right )}^{\frac{3}{2}} b^{2} - 6 \,{\left (b^{2} c - a b d\right )} \sqrt{d x + c}}{d^{2}} - \frac{3 \,{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )}}{\sqrt{d x + c} d^{2}}\right )}}{3 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2/(d*x + c)^(3/2),x, algorithm="maxima")

[Out]

2/3*(((d*x + c)^(3/2)*b^2 - 6*(b^2*c - a*b*d)*sqrt(d*x + c))/d^2 - 3*(b^2*c^2 -
2*a*b*c*d + a^2*d^2)/(sqrt(d*x + c)*d^2))/d

_______________________________________________________________________________________

Fricas [A]  time = 0.203967, size = 85, normalized size = 1.27 \[ \frac{2 \,{\left (b^{2} d^{2} x^{2} - 8 \, b^{2} c^{2} + 12 \, a b c d - 3 \, a^{2} d^{2} - 2 \,{\left (2 \, b^{2} c d - 3 \, a b d^{2}\right )} x\right )}}{3 \, \sqrt{d x + c} d^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2/(d*x + c)^(3/2),x, algorithm="fricas")

[Out]

2/3*(b^2*d^2*x^2 - 8*b^2*c^2 + 12*a*b*c*d - 3*a^2*d^2 - 2*(2*b^2*c*d - 3*a*b*d^2
)*x)/(sqrt(d*x + c)*d^3)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (a + b x\right )^{2}}{\left (c + d x\right )^{\frac{3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**2/(d*x+c)**(3/2),x)

[Out]

Integral((a + b*x)**2/(c + d*x)**(3/2), x)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.219103, size = 113, normalized size = 1.69 \[ -\frac{2 \,{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )}}{\sqrt{d x + c} d^{3}} + \frac{2 \,{\left ({\left (d x + c\right )}^{\frac{3}{2}} b^{2} d^{6} - 6 \, \sqrt{d x + c} b^{2} c d^{6} + 6 \, \sqrt{d x + c} a b d^{7}\right )}}{3 \, d^{9}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^2/(d*x + c)^(3/2),x, algorithm="giac")

[Out]

-2*(b^2*c^2 - 2*a*b*c*d + a^2*d^2)/(sqrt(d*x + c)*d^3) + 2/3*((d*x + c)^(3/2)*b^
2*d^6 - 6*sqrt(d*x + c)*b^2*c*d^6 + 6*sqrt(d*x + c)*a*b*d^7)/d^9